import { QuestionModel } from './question.model';

export interface QuestionnaireModel {
  id?: number;
  title: string; // 标题
  starter: string; // 开头语
  ending: string; // 结束语
  state: QuestionnaireState;
  questionList: QuestionModel[];
  createDate?: string;
}

export const enum QuestionnaireState {
  Created,
  Published,
  Finished
}
